package com.wy.business.market.home.pojos;

import java.sql.Timestamp;

/**
 * TMarketNews entity. @author MyEclipse Persistence Tools
 */

public class TMarketNews extends com.wy.framework.pojos.AbstractPojo implements
		java.io.Serializable {

	// Fields

	private String newsId;
	private String typeId;
	private String title;
	private String picUrl;
	private String content;
	private String source;
	private Integer views;
	private Timestamp createTime;
	private Timestamp updateTime;
	private Timestamp auditingTime;
	private Timestamp cancelTime;
	private String operatorAccount;
	private String operatorName;
	private String isAvailable;

	// Constructors

	/** default constructor */
	public TMarketNews() {
	}

	/** minimal constructor */
	public TMarketNews(String newsId, String typeId, String title,
			String picUrl, String content, Integer views, Timestamp createTime,
			Timestamp updateTime, String operatorName, String isAvailable) {
		this.newsId = newsId;
		this.typeId = typeId;
		this.title = title;
		this.picUrl = picUrl;
		this.content = content;
		this.views = views;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.operatorName = operatorName;
		this.isAvailable = isAvailable;
	}

	/** full constructor */
	public TMarketNews(String newsId, String typeId, String title,
			String picUrl, String content, String source, Integer views,
			Timestamp createTime, Timestamp updateTime, Timestamp auditingTime,
			Timestamp cancelTime, String operatorAccount, String operatorName,
			String isAvailable) {
		this.newsId = newsId;
		this.typeId = typeId;
		this.title = title;
		this.picUrl = picUrl;
		this.content = content;
		this.source = source;
		this.views = views;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.auditingTime = auditingTime;
		this.cancelTime = cancelTime;
		this.operatorAccount = operatorAccount;
		this.operatorName = operatorName;
		this.isAvailable = isAvailable;
	}

	// Property accessors

	public String getNewsId() {
		return this.newsId;
	}

	public void setNewsId(String newsId) {
		this.newsId = newsId;
	}

	public String getTypeId() {
		return this.typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPicUrl() {
		return this.picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getSource() {
		return this.source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Integer getViews() {
		return this.views;
	}

	public void setViews(Integer views) {
		this.views = views;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public Timestamp getAuditingTime() {
		return this.auditingTime;
	}

	public void setAuditingTime(Timestamp auditingTime) {
		this.auditingTime = auditingTime;
	}

	public Timestamp getCancelTime() {
		return this.cancelTime;
	}

	public void setCancelTime(Timestamp cancelTime) {
		this.cancelTime = cancelTime;
	}

	public String getOperatorAccount() {
		return this.operatorAccount;
	}

	public void setOperatorAccount(String operatorAccount) {
		this.operatorAccount = operatorAccount;
	}

	public String getOperatorName() {
		return this.operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	public String getIsAvailable() {
		return this.isAvailable;
	}

	public void setIsAvailable(String isAvailable) {
		this.isAvailable = isAvailable;
	}

}